<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of NavigationHeaderMenu
 *
 * @author aneto
 */
class NavigationSubMenu extends NavigationDefaultMenu{

	public function getElements(){
		$result = array();
		foreach(parent::getElements() as $el){
			if($el->getParameter('visible_in_submenu')){
				$result[] = $el;
			}
		}
		return $result;
	}
}